package custom_error

const (
	ParameterError          = "参数错误"
	AdvertiseSystemError    = "系统错误"
	BrandAlreadyExits       = "品牌已经存在"
	BrandDoesNotExist       = "品牌数据不存在"
	BrandDatabaseQueryError = "品牌数据库查询错误"
	BrandDeleteFailed       = "数据删除失败"
	BrandUpdateFiled        = "品牌数据更新失败"

	AdvertiseNotExist           = "广告数据不存在"
	AdvertiseDatabaseQueryError = "广告数据库查询错误"
	AdvertiseFailedToCreateData = "广告创建失败"
	DeleteAdvertiseIsNotExist   = "广告删除失败"
	AdvertiseUpdateFailed       = "广告更新失败"

	CategorySystemError        = "系统错误"
	CategoryDataIsExists       = "分类数据已存在"
	CategoryDataCreationFailed = "category数据创建失败"
	CategoryDoesNotExist       = "分类数据不存在"

	CategoryToBrandSystemError    = "categoryToBrand系统错误"
	CategoryBrandDataCreateFailed = "category与brand数据创建失败"
	CategoryBrandDoesNotExist     = "产品分类和品牌数据不存在"
	ProductCreateDataFailed       = "产品创建失败"
	ProductDeleteSystemError      = "产品删除系统错误"
	ProductDeleteFailed           = "产品删除失败"
	ProductDataIsNotExists        = "产品不存在存在"
	UpdateProductFailed           = "产品修改失败"
	GetDetailToFailed             = "获取产品详情失败"

	StockSaveFailed   = "库存设置失败"
	StockSystemError  = "系统错误"
	UpdateStockFailed = "库存信息更新失败"
	StockIsNotEnough  = "商品库存不足"

	CartOrderSystemError = "系统错误"
	DeleteShopCartFailed = "购物车商品删除失败"
	CreateShopCartFailed = "购物车商品创建失败"
	ShopCartNotFound     = "购物车未找到"

	OrderIsNotFound   = "订单未找到"
	OrderSystemError  = "系统错误"
	ProductNotChecked = "购物车内无选中商品"
)
